<div class="form-group">
        <label class="col-sm-2 control-label">{{"协议"|T}}</label>
        <div class="col-sm-9">{{$v := Val . "protocal"}}
          <select name="{{Key . "protocol"}}" class="form-control">
            <option value="tcp"{{if eq $v "tcp"}} selected="selected"{{end}}>tcp</option>
            <option value="udp"{{if eq $v "udp"}} selected="selected"{{end}}>udp</option>
            <option value="http"{{if eq $v "http"}} selected="selected"{{end}}>http</option>
            <option value="https"{{if eq $v "https"}} selected="selected"{{end}}>https</option>
            <option value="stcp"{{if eq $v "stcp"}} selected="selected"{{end}}>stcp</option>
            <option value="xtcp"{{if eq $v "xtcp"}} selected="selected"{{end}}>xtcp</option>
          </select>
        </div>
</div>
<div class="form-group">
      <label class="col-sm-2 control-label">{{"远程主机"|T}}</label>
      <div class="col-sm-9">
            <div class="input-group">
                <div class="input-group-addon">{{"端口"|T}}</div>
                <input type="text" class="form-control" name="{{Key . "remote_port"}}" value="{{Val . "remote_port"}}">
            </div><!-- /.input-group -->
      </div>
</div>
<div class="form-group">
      <label class="col-sm-2 control-label">{{"sock文件"|T}}</label>
      <div class="col-sm-9">
            <input type="hidden" class="form-control" name="{{Key . "plugin"}}" value="unix_domain_socket">
            <input type="text" class="form-control" name="{{Key . "plugin_unix_path"}}" value="{{Val . "plugin_unix_path"}}" placeholder="/var/run/docker.sock">
      </div>
</div>